package com.zhaoshixin.es.service;

import com.zhaoshixin.es.entity.People;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zhaoshixin.es.vo.Query;
import org.springframework.data.elasticsearch.core.aggregation.AggregatedPage;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhaoshixin
 * @since 2022-07-26
 */
public interface IPeopleService extends IService<People> {

    AggregatedPage getList(Query people, Integer pageNum, Integer pageSize);
}
